﻿namespace Wms.Core.Entities
{
	public enum WarehouseType
	{
		RawMaterial,
		FinishedGoods,
		SpareParts
	}
	/// <summary>
	/// 仓库
	/// </summary>
	public class Warehouse
	{
		public int Id { get; set; }
		public string Name { get; set; } = string.Empty;
		public string Location { get; set; } = string.Empty;
		public WarehouseType Type { get; set; } = WarehouseType.RawMaterial;
		public ICollection<Location>? Locations { get; set; }
	}
}
